home *** CD-ROM | disk | FTP | other *** search
-
-
-
- aaaassssppppiiiiddddssssiiiinnnnaaaasssshhhh((((3333xxxx)))) aaaassssppppiiiiddddssssiiiinnnnaaaasssshhhh((((3333xxxx))))
-
-
-
- NNNNAAAAMMMMEEEE
- aspidsinash, aspidsinash_array, aspidsinash_local, aspidsinash_server -
- enumerate processes in an array session
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ttttyyyyppppeeeessss....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<aaaarrrrrrrraaaayyyyssssvvvvccccssss....hhhh>>>>
-
- aaaassssppppiiiiddddlllliiiisssstttt____tttt ****aaaassssppppiiiiddddssssiiiinnnnaaaasssshhhh((((aaaasssshhhh____tttt AAAASSSSHHHH))));;;;
- aaaassssaaaarrrrrrrraaaayyyylllliiiisssstttt____tttt ****aaaassssppppiiiiddddssssiiiinnnnaaaasssshhhh____aaaarrrrrrrraaaayyyy((((aaaasssssssseeeerrrrvvvveeeerrrr____tttt SSSSeeeerrrrvvvveeeerrrr,,,,
- ccccoooonnnnsssstttt cccchhhhaaaarrrr ****AAAArrrrrrrraaaayyyyNNNNaaaammmmeeee,,,, aaaasssshhhh____tttt AAAASSSSHHHH))));;;;
- aaaassssppppiiiiddddlllliiiisssstttt____tttt ****aaaassssppppiiiiddddssssiiiinnnnaaaasssshhhh____llllooooccccaaaallll((((aaaasssshhhh____tttt AAAASSSSHHHH))));;;;
- aaaassssmmmmaaaacccchhhhiiiinnnneeeelllliiiisssstttt____tttt ****aaaassssppppiiiiddddssssiiiinnnnaaaasssshhhh____sssseeeerrrrvvvveeeerrrr((((aaaasssssssseeeerrrrvvvveeeerrrr____tttt SSSSeeeerrrrvvvveeeerrrr,,,, aaaasssshhhh____tttt AAAASSSSHHHH))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The "aspidsinash" functions return lists of process IDs that belong to
- the array session specified by the array session handle AAAASSSSHHHH. Each
- function returns its list in a data structure that is defined in
- <<<<aaaarrrrrrrraaaayyyyssssvvvvccccssss....hhhh>>>>. The storage for these structures are allocated using
- _m_a_l_l_o_c(3C), and should be released with the appropriate function noted
- below when it is no longer needed.
-
- The SSSSeeeerrrrvvvveeeerrrr argument specifies an optional array server token, which can
- be used to direct the request to a specific array services daemon. If
- NULL is specified instead, the request will be processed by the default
- array services daemon if necessary (see _a_r_r_a_y(1) for more information on
- how the default array services daemon is selected). For more details on
- creating an array server token, see _a_s_o_p_e_n_s_e_r_v_e_r(3X).
-
- _a_s_p_i_d_s_i_n_a_s_h__l_o_c_a_l returns only those processes in the array session that
- are running on the local machine. The list of process IDs is returned in
- an aaaassssppppiiiiddddlllliiiisssstttt____tttt structure, which may be freed using _a_s_f_r_e_e_p_i_d_l_i_s_t(3X).
- _a_s_p_i_d_s_i_n_a_s_h is the same as _a_s_p_i_d_s_i_n_a_s_h__l_o_c_a_l, and is retained mainly for
- backward compatibility. Unlike the remaining functions,
- _a_s_p_i_d_s_i_n_a_s_h__l_o_c_a_l and _a_s_p_i_d_s_i_n_a_s_h do not require the array services
- daemon to be running in order to complete successfully.
-
- _a_s_p_i_d_s_i_n_a_s_h__s_e_r_v_e_r returns the list of processes in the specified array
- session that are running on the machine specified by SSSSeeeerrrrvvvveeeerrrr. The list is
- returned in aaaassssmmmmaaaacccchhhhiiiinnnneeeeppppiiiiddddlllliiiisssstttt____tttt, which may be freed using
- _a_s_f_r_e_e_m_a_c_h_i_n_e_p_i_d_l_i_s_t(3X).
-
- _a_s_p_i_d_s_i_n_a_s_h__a_r_r_a_y returns a list of processes in the specified array
- session for all of the machines in the array specified by AAAArrrrrrrraaaayyyyNNNNaaaammmmeeee. The
- data is returned in the form of an aaaassssaaaarrrrrrrraaaayyyyppppiiiiddddlllliiiisssstttt____tttt, which may be freed
- using _a_s_f_r_e_e_a_r_r_a_y_p_i_d_l_i_s_t(3X). The aaaassssaaaarrrrrrrraaaayyyyppppiiiiddddlllliiiisssstttt____tttt in turn contains
- pointers to one or more aaaassssmmmmaaaacccchhhhiiiinnnneeeeppppiiiiddddlllliiiisssstttt____tttt's, one for each machine in the
- array. Each aaaassssmmmmaaaacccchhhhiiiinnnneeeeppppiiiiddddlllliiiisssstttt____tttt contains the name of the particular
- machine and a list of the processes in the specified array session that
- are running there.
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- aaaassssppppiiiiddddssssiiiinnnnaaaasssshhhh((((3333xxxx)))) aaaassssppppiiiiddddssssiiiinnnnaaaasssshhhh((((3333xxxx))))
-
-
-
- NNNNOOOOTTTTEEEESSSS
- Notice that because processes and array sessions can come and go over
- time, this information cannot be 100% accurate; it may omit some new
- processes and/or include processes that have already terminated.
-
- All of the functions are found in the library "libarray.so", and will be
- loaded if the option "-larray" is used with _c_c(1) or _l_d(1).
-
- The array services daemon, _a_r_r_a_y_d(1M) must be running on all affected
- machines for the functions _a_s_p_i_d_s_i_n_a_s_h__a_r_r_a_y and _a_s_p_i_d_s_i_n_a_s_h__s_e_r_v_e_r to
- work properly.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- asashisglobal(3X), aserrorcode(3X), asfreearraypidlist(3X),
- asfreemachinepidlist(3X), asfreepidlist(3X), aslistashs_server(3X),
- array_sessions(5).
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- _a_s_p_i_d_s_i_n_a_s_h returns a pointer to an aaaassssppppiiiiddddlllliiiisssstttt____tttt structure if successful
- or NULL if not. If unsuccessful, _a_s_e_r_r_o_r_c_o_d_e will be set appropriately.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-